package com.company.hrmadmin.modules.entity.dto.page;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 排序基类DTO
 *
 * @author Song, Wei
 * Date: 2022/4/15 11:40
 */
@Data
@ApiModel(description = "DTO对象基类")
public class BaseQueryDTO {
    /**
     * 当前页
     */
    @ApiModelProperty(value = "分页查询页数 不传默认为1", example = "1", dataType = "Integer")
    private Integer pageNum = 1;

    /**
     * 每页条数
     */
    @ApiModelProperty(value = "每页条数 不传默认为10", example = "10", dataType = "Integer")
    private Integer pageSize = 10;

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id 获取所有项目数据传-1", example = "1", dataType = "Integer")
    private Integer projectId;
}
